<?php $this->pageTitle=Yii::app()->name; ?>

<div class="actionBar">
[<?php echo CHtml::link(Yii::t('views','Change password'),array('changePwd')); ?> |
<?php echo CHtml::link(Yii::t('views','Change account informations'),array('changeInfo')); ?>]
</div>

<h2>
	Welcome, <?php echo Yii::app()->user->name; ?> on your account page.
</h2>
<?php
if (Yii::app()->user->hasFlash('password') || Yii::app()->user->hasFlash('email')) {
?>
<div id="flashMsg" class="infoMsg">
<?php if (Yii::app()->user->hasFlash('password')) echo Yii::app()->user->getFlash('password')."<br />"; ?>
<?php if (Yii::app()->user->hasFlash('email')) echo Yii::app()->user->getFlash('email'); ?>
</div>
<?php


	Yii::app()->user->setFlash('password', null);
	Yii::app()->user->setFlash('email', null);
}
?>

<p>
Using the header menu, you can change your password and your account information.
</p>

